package shzj.orm.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import shzj.orm.entity.WorkCompany;
import shzj.orm.entity.WorkCompanyExample;

public interface WorkCompanyMapper {
    int countByExample(WorkCompanyExample example);

    int deleteByExample(WorkCompanyExample example);

    int deleteByPrimaryKey(Long pk);

    int insert(WorkCompany record);

    int insertSelective(WorkCompany record);

    List<WorkCompany> selectByExample(WorkCompanyExample example);

    WorkCompany selectByPrimaryKey(Long pk);

    int updateByExampleSelective(@Param("record") WorkCompany record, @Param("example") WorkCompanyExample example);

    int updateByExample(@Param("record") WorkCompany record, @Param("example") WorkCompanyExample example);

    int updateByPrimaryKeySelective(WorkCompany record);

    int updateByPrimaryKey(WorkCompany record);
}